using System;
using Yuebon.Infrastructure.Services;
using Yuebon.Security.IServices;
using Yuebon.Shop.IRepositories;
using Yuebon.Shop.IServices;
using Yuebon.Shop.Models;

namespace Yuebon.Shop.Services
{
    public class ReferralGradesService: BaseService<ReferralGrades>, IReferralGradesService
    {
		private readonly IReferralGradesRepository _repository;
        private readonly ILogService _logService;
        public ReferralGradesService(IReferralGradesRepository repository,ILogService logService) : base(repository)
        {
			_repository=repository;
			_logService=logService;
            _repository.OnOperationLog += _logService.OnOperationLog;
        }
    }
}